package com.jzr.bedside.db1.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 药物表
 * </p>
 *
 * @author henry
 * @since 2019-08-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TDrug对象", description="药物表")
public class TDrug implements Serializable {
    private static final long serialVersionUID = 1L;
    public static final String TableName = "t_drug";
    public static final String Id_ = "id";
    public static final String Code_ = "code";
    public static final String Name_ = "name";
    public static final String Standards_ = "standards";
    public static final String DrugType_ = "drug_type";
    public static final String DoseUnit_ = "dose_unit";
    public static final String UpdateBy_ = "update_by";
    public static final String UpdateTime_ = "update_time";
    public static final String IsDel_ = "is_del";


    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "药品编号")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "药品名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "药品规格")
    @TableField("standards")
    private String standards;

    @ApiModelProperty(value = "药品类型: 0=非输液 1=输液")
    @TableField("drug_type")
    private Integer drugType;

    @ApiModelProperty(value = "剂量单位")
    @TableField("dose_unit")
    private String doseUnit;

    @ApiModelProperty(value = "更新人")
    @TableField("update_by")
    private Integer updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "删除标记")
    @TableField("is_del")
    private Boolean isDel;


}
